package service

import "table-compare/db"

var TABLE_SERVICE *TableService
var SYSTEM_SERVICE *SystemService
var COLUMN_SERVICE *ColumnService
var NEW_TABLE_SERVICE *NewTableService
var NEW_COLUMN_SERVICE *NewColumnService

func Setup() {
	TABLE_SERVICE = &TableService{db: db.DB}
	SYSTEM_SERVICE = &SystemService{db: db.DB}
	COLUMN_SERVICE = &ColumnService{db: db.DB}
	NEW_TABLE_SERVICE = &NewTableService{db: db.NewDB}
	NEW_COLUMN_SERVICE = &NewColumnService{db: db.NewDB}
}
